import request from "../http/http.js"

// 查询用户列表
export const getUser = (data) => {
    console.log(data,"接口触发")
    return request.post('/getuser',data,{});
};
// 添加用户
export const addUser = (data)=>{
    console.log(data,"添加用户接口")
    return request.post('/addUser',data,{})
}
// 删除用户
export const deleteUser = (data)=>{
    console.log(data,"删除用户接口")
    return request.post('/deleteUser',data,{})
}
// 编辑用户
export const updateUser = (data)=>{
    console.log(data,"修改用户接口")
    return request.post('/updateUser',data,{})
}



// export const getMach = (data) => {
//     console.log(data,"接口触发")
//     return request.post('/mach',data,{});
// };

// export const getChanpingId = (data) => {
//     console.log(data,"编码查询")
//     return request.post('/chanpingId',data,{});
// };